package com.mingdao.lhy.mapper.wish;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.mingdao.lhy.pojo.MiddleSchoolWish;

@Mapper
@Repository(value = "middleSchoolWishMapper")
public interface MiddleSchoolWishMapper {

	List<MiddleSchoolWish> list();

	MiddleSchoolWish getOne(String bmh);

	int deleteByPrimaryKey(String bmh);

	int insert(MiddleSchoolWish record);

	int insertSelective(MiddleSchoolWish record);

	MiddleSchoolWish selectByPrimaryKey(String bmh);

	int updateByPrimaryKeySelective(MiddleSchoolWish record);

	int updateByPrimaryKey(MiddleSchoolWish record);

	List<MiddleSchoolWish> getMidWishedStudentPage(Map<String, Integer> map);
	
	List<MiddleSchoolWish> statEnrolgetMidOne (String bmh);

}